//
//  AnimatedTransitioning.h
//  CircleAnimation
//
//  Created by rimi on 16/7/14.
//  Copyright © 2016年 rlg. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger,CircleSpreadTransitionType) {
    CircleSpreadTransitionTypePresent = 0, //管理present动画
    CircleSpreadTransitionTypeDismiss      //管理dismiss动画

};

@interface AnimatedTransitioning : NSObject<UIViewControllerAnimatedTransitioning>
@property (nonatomic, assign) CircleSpreadTransitionType type;
//根据定义的枚举初始化的两个方法
+ (instancetype)transitionWithTransitionType:(CircleSpreadTransitionType)type;
- (instancetype)initWithTransitionType:(CircleSpreadTransitionType)type;
@end
